Skip to content

Conversation

@icfaust
Copy link
Contributor

@icfaust icfaust commented Jun 15, 2025

Description

Generalize GPU testing to work when dpctl is unavailable, but a SYCL device is.

Depends on #2509


PR should start as a draft, then move to ready for review state after CI is passed and all applicable checkboxes are closed.
This approach ensures that reviewers don't spend extra time asking for regular requirements.

You can remove a checkbox as not applicable only if it doesn't relate to this PR in any way.
For example, PR with docs update doesn't require checkboxes for performance while PR with any change in actual code should have checkboxes and justify how this code change is expected to affect performance (or justification should be self-evident).

Checklist to comply with before moving PR from draft:

PR completeness and readability

  • I have reviewed my changes thoroughly before submitting this pull request.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have added a respective label(s) to PR if I have a permission for that.
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • I have run it locally and tested the changes extensively.
  • All CI jobs are green or I have provided justification why they aren't.
  • I have extended testing suite if new functionality was introduced in this PR.

@icfaust
Copy link
Contributor Author

icfaust commented Jun 25, 2025

Hooray, I have uncovered a seg fault in basicstats on GPU. I am going to disable the pytorch install to see if the sycl runtime is causing problems, then I am going to install dpctl instead to see if it is the runner or the code I wrote in sycl.cpp, and then that would leave only oneDAL as the cause.

@codecov
Copy link

codecov bot commented Sep 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
azure 81.19% <ø> (?)
github 82.81% <ø> (+0.77%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 42 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@icfaust icfaust changed the title [WIP, CI] remove dpctl dependency from onedal/tests/utils/_device_selection.py [CI] Remove dpctl dependency from onedal/tests/utils/_device_selection.py Dec 2, 2025
@icfaust
Copy link
Contributor Author

icfaust commented Dec 2, 2025

/intelci: run

@icfaust icfaust marked this pull request as ready for review December 2, 2025 23:33
@david-cortes-intel
Copy link
Contributor

/intelci: run

@david-cortes-intel
Copy link
Contributor

Failure in the public CI is due to a known bug in oneDAL, not connected to these changes.

@david-cortes-intel
Copy link
Contributor

Looks like this will require additional changes:

tests/test_memory_usage.py::test_table_conversions_memory_leaks[float64-(2000, 50)-C-dpnp-SyclQueue_GPU] - NameError: name 'is_dpctl_device_available' is not defined

@icfaust
Copy link
Contributor Author

icfaust commented Dec 9, 2025

/intelci: run

@icfaust icfaust added the enhancement New feature or request label Dec 9, 2025
@icfaust
Copy link
Contributor Author

icfaust commented Dec 10, 2025

@david-cortes-intel it should be fixed but private CI looks like a mess (not due to the PR)

@david-cortes-intel david-cortes-intel merged commit 6513f92 into uxlfoundation:main Dec 10, 2025
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants